home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PGetHorizGuides.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  712b  |  30 lines

  1. /*
  2.  *--- PGetHorizGuides.cpp -------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetHorizGuides.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetHorizGuides.h"
  12.  
  13. PGetHorizGuides::PGetHorizGuides()
  14. : PListQuery(pm_gethorizguides)
  15. {
  16.     Scan();
  17. }
  18.  
  19.  void PGetHorizGuides::Scan()
  20. {
  21.     const char * ptr = listMom.Current();
  22.  
  23.     yPosition = *(long *) ptr;
  24.     ptr += 4;
  25.     
  26.     listMom.Update(ptr);
  27. }
  28.  
  29. // end of PGetHorizGuides.cpp
  30.